{literal}
<style>
#ulList table td #imgDel{position: absolute;left: 218px;top: 2px; cursor:pointer; display:none; width:15px;}
#ulList table td #imgEdt{position: absolute;left: 200px;top: 2px; cursor:pointer; display:none; width:15px;}
#ulList table td #imgGroup{width: 20px;right: 28px;position: absolute;bottom: 130px;}
#ulList table td #divFormat{position: absolute;left: 10px;top:150px; cursor:pointer; z-index:99999; width:20px;}
#ulList table {font-size:11px}
</style>
{/literal}
<table width="1000" style="margin:auto;" border="0" cellpadding="0" cellspacing="0">
 <tr><td height="20"></td></tr>
  <tr>
    <td valign="top">
    <table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td style="display:none;"><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
				<tr>
                <td><ul id="ulRef">
                <li><img src="{$data[0].pic}"/><div>{$data[0].subject}</div></li>
                <li><img src="{$data[1].pic}"/><div>{$data[1].subject}</div></li>
                <li><img src="{$data[2].pic}"/><div>{$data[2].subject}</div></li>
                <li><img src="{$data[3].pic}"/><div>{$data[3].subject}</div></li>
                </ul></td>
              </tr>
            </table></td>
          </tr>
		  <tr>
            <td height="37"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#e9e8e4">
              <tr><td height="37" style="color:#597ddb; font-size:14px; font-weight:bold;">&nbsp;&nbsp;<span id="groupName"></span>&nbsp;累计&nbsp;&nbsp;<span id="total">{$total}</span>&nbsp;&nbsp;个内容&nbsp;&nbsp;&nbsp;</td><td align="right"><a id="btnBack11" style="color:#597ddb;font-size:14px; cursor:pointer;" onclick="backShow();">[返回]</a>&nbsp&nbsp&nbsp&nbsp&nbsp<a onClick="showSet();" style="color:#597ddb;font-size:14px; cursor:pointer;">[隐藏]</a>&nbsp;&nbsp;&nbsp;</td></tr></table>
            </td>
          </tr>
		  <tr>
            <td height="20" colspan="2" id="querySet"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0">
              
              <tr><td width="50" height="40" align="center"><a href="">品牌</a></td><td id="tdBrand" did="1"></td></tr>
              <tr><td align="center" height="35"><a href="">产品</a></td><td id="tdCar"></td></tr>
              <tr><td align="center" height="30"><a href="">类型</a></td><td id="tdType" did="14"></td></tr>
              <!--<tr style="display:none;" id="trStyle"><td align="center" height="45"><a href="">分类</a></td><td id="tdStyle" did="17"></td></tr>-->
              <tr style="display:none;"><td align="center" height="30"><a href="">格式</a></td><td id="tdFormat" did="37"></td></tr>
              <tr><td align="center" height="30"><a href="">年份</a></td><td id="tdYear"></td></tr>
              <tr><td colspan="2"><hr style="border:1px dotted #aaaaaa; height:1px"/></td></tr>
              </table>
            </td>
          </tr>
         {if $roleId eq 0}
         <tr>
            <td><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="30" valign="bottom" style="padding-left:10px;"><a href='#'  onclick='clearQueryParam();k=-1;query();'>未发布素材</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#'  onclick='clearQueryParam();k=1;query();'>最新发布素材</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#'  onclick='k=0;query();'>浏览全部</a></td>
                 
              </tr>
            </table></td>
          </tr>
         {/if} 
		 <!--主题按时间，名称排序-->
         <tr id="dtid" style="">
            <td><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="30" valign="bottom" style="padding-left:850px;"><a id="iname" href='#' data="name" onclick="query(this);">按名称排序</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="ipostname" href='#' data="posttime"  onclick='query(this);'>按时间排序</a></td>
                 
              </tr>
            </table></td>
          </tr>
		  <!--主题按时间，名称排序end-->
		   <!--主题文件按时间，名称排序-->
         <tr id="ptid" style="display:none;">
            <td><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
              <tr id="tid" gid="" fname="">
                <td width="10%" height="30" valign="bottom" style="padding-left:850px;"><a id="finame" href='#' data="name" onclick="by_nameorder(id,name,type);">按名称排序</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="fipostname" href='#' data="posttime"  onclick='by_timeorder(id,name,type);'>按时间排序</a></td>
                 
              </tr>
            </table></td>
          </tr>
		  <!--主题文件按时间，名称排序end-->
          <tr>
            <td>
            <div class="ui-widget" style="width:100%;">
	 
	<table id="users" cellpadding="0" cellspacing="0" >
		 
		<tbody>
             
              <tr>
              <td id="tdName{$data[sec1].id}" align="center"> 
              <div id="loading">loading.......</div>
              <ul id="ulList">
              
 			  </ul>
               </td>
              </tr>
            
		</tbody>
	</table>
    <table width="100%">
    <tr><td align="center" height="30" style="border-bottom:1px #aaaaaa dotted;"></td></tr>
    <tr><td align="center" height="40" style="position:relative"><span style="color:#597ddb; font-size:15px; font-weight:bold;" id="totalNum"></span><div id="divPageNav"><table><tr><td><img src="images/pageprev.jpg" style="cursor:pointer;" onClick="toPage(-1);"/></td><td>第</td><td><input type="text" size="3" id="txtPageNum" value="1"/></td><td>页&nbsp;&nbsp;共</td><td id="tdTotalPage">300</td><td>页</td><td><img src="images/pagenext.jpg"  style="cursor:pointer;" onClick="toPage(1);"/></td></tr></table></div></td></tr>
     <tr><td align="center" height="0" style="border-top:1px #aaaaaa dotted;border-bottom:1px #aaaaaa dotted;"></td></tr>
     <tr><td align="center" height="30" ></td></tr>
    </table>
</div>
 </td>
          </tr>
        </table>
          </td>
      </tr>
    </table></td>
    <td >&nbsp;</td>
  </tr>
  <tr>
    <td  colspan="3" valign="middle">
     {include file='footer.tpl'} 
    </td>
    
  </tr>
</table><input type="hidden" id="rid" value="{$roleId}"/>
              <table style="display:none;" id="tblItem" >
              <tr><td colspan="2" height="165" ><a href='?act={$act}&op=detail&id=ID' target="_blank"><div style="background-image:url(SRC); width:200px;height:135px; margin:auto;background-position:center;background-repeat:no-repeat; padding-left:0px;cursor:pointer;"></div></a><img id="imgEdt" onClick="doEdt(ID,0);" src="images/edt.png"/><img id="imgDel" onClick="doDel(ID,0);" src="images/del.png"/></td></tr>
              <tr><td colspan="2" height="80"><div>NAME</div></td></tr>
              <tr>
              <td class="toolbar"  onClick="fav(ID);"><img src="images/ico/fav.png"/>收藏</td>
              <td class="toolbar"  onClick="down(ID);_hmt.push(['_trackEvent', 'file', 'download','ID']);"><img src="images/ico/down.png"/>下载</td>
              </tr>
              </table>
              <table style="display:none;" id="tblItem2" >
              <tr><td colspan="2" height="165" ><div onClick="showGroupFile('ID','MARK');_hmt.push(['_trackEvent', 'dir', 'click','MARK']);_hmt.push(['_setAutoPageview', false]);_hmt.push(['_trackPageview', '/dir/ID']);" style="background-image:url(SRC);width:200px;height:135px; margin:auto;background-position:center;background-repeat:no-repeat; padding-left:0px;cursor:pointer;">
              <img src="images/group.png" id="imgGroup"/>
              </div><img id="imgEdt" onClick="doEdt(ID,1);" src="images/edt.png"/><img id="imgDel" onClick="doDel(ID,1);" src="images/del.png"/></td></tr>
              <tr><td colspan="2" height="80"><div>NAME</div><div>PDATE</div></td></tr>
              <tr>
              <!--<td class="toolbar"  onClick="fav(ID);"><img src="images/ico/fav.png"/>收藏</td>-->
              <!--<td class="toolbar"  onClick="down(ID);"><img src="images/ico/down.png"/>下载</td>-->
              </tr>
              </table>
              <form id="formOpen" target="_blank" method="post"></form>